﻿<%@ Page Title="Order Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OrderContact.aspx.cs" Inherits="IFD2.OrderContact" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <form id="form1" runat="server" role="form" class="form-inline">
    <%--<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>--%>
    <div class="container-fluid body-content" style="width:100%;">

    <div class="row">
        <div class="col-sm-2 well well-sm">
            <h5><asp:Literal ID="litTitle" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h5>
            <div class="form-group">
                <asp:Label ID="Label1" runat="server" Text="Adults Count:" meta:resourcekey="AdultsCount"></asp:Label>
                <asp:Label ID="lblAdtCount" runat="server" Font-Bold="true"></asp:Label>
            </div>
            <br class="hidden-xs" />
            <div class="form-group">
                <asp:Label ID="Label2" runat="server" Text="Children Count:" meta:resourcekey="ChildrenCount"></asp:Label>
                <asp:Label ID="lblChdCount" runat="server" Font-Bold="true"></asp:Label>
            </div>
            <br class="hidden-xs" />
            <div class="form-group">
                <asp:Label ID="Label3" runat="server" Text="Infants Count:" meta:resourcekey="InfantsCount"></asp:Label>
                <asp:Label ID="lblInfCount" runat="server" Font-Bold="true"></asp:Label>
            </div>
        </div>

        <div class="col-sm-10 well well-sm">
            <div class="panel">
                <div class="panel-heading btn-primary">
                    <h6 class="panel-title" id="section-2"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h6>
                </div>
                <div class="panel-body">
                    <table border="0" style="margin:auto;">
                    <tr><td colspan="2">
                        <asp:CheckBox ID="chkIsGroup" runat="server" Text="Is Group" meta:resourcekey="IsGroup"/>&nbsp;
                        <asp:Label ID="Label10" runat="server" Text="Request Type:_X" meta:resourcekey="RequestType" Enabled="False" Visible="False"></asp:Label>
                        <asp:DropDownList ID="dlRequestType" runat="server" Width="151px" Enabled="False" Visible="False">
                            <asp:ListItem Selected="True" Value="C" meta:resourcekey="Confirm">Confirm Request</asp:ListItem>
                            <asp:ListItem Value="H" meta:resourcekey="Standby">Standby Request</asp:ListItem>
                            <asp:ListItem Value="B" meta:resourcekey="Block">Block Request</asp:ListItem>
                        </asp:DropDownList>
                    </td></tr>
                    <tr>
                    <td>
                        <asp:Label ID="Label4" runat="server" Text="Contact:" meta:resourcekey="Contact"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactMan" runat="server" BackColor="#FFFF99" MaxLength="20" ></asp:TextBox>
                    </td>
                    </tr>
                    <tr>
                    <td>
                        <asp:Label ID="Label5" runat="server" Text="Mobile Phone:" meta:resourcekey="MobilePhone"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtMobilePhone" runat="server" BackColor="#FFFF99" MaxLength="20" ></asp:TextBox>
                    </td>
                    </tr>
                    <tr>
                    <td>
                        <asp:Label ID="Label6" runat="server" Text="Telephone:" meta:resourcekey="Telephone"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPhone" runat="server" MaxLength="20" ></asp:TextBox>
                    </td>
                    </tr>
                    <tr>
                    <td>
                        <asp:Label ID="Label7" runat="server" Text="E-mail:" meta:resourcekey="Email"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtEmail" runat="server" MaxLength="20" ></asp:TextBox>
                    </td>
                    </tr>
                    <tr>
                    <td>
                        <asp:Label ID="Label8" runat="server" Text="Deliver Addr.:" meta:resourcekey="DeliverAddr"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtAddress" runat="server" Width="100%" MaxLength="40"  ></asp:TextBox>
                    </td>
                    </tr>
                    <tr>
                    <td>
                        <asp:Label ID="Label9" runat="server" Text="ZIP:" meta:resourcekey="ZIP"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPostCode" runat="server" MaxLength="10" ></asp:TextBox>
                    </td>
                    </tr>
                    <tr>
                        <td>
                            <%--<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/img_chk.ashx" />--%>
                            <div onclick="refresh_img();">
                                <img id="img_chk" src="img_chk.ashx" />
                            </div>
                        </td>
                        <td>
                            <asp:TextBox ID="txtImgCode" runat="server" Width="71px" MaxLength="6"></asp:TextBox>
                        </td>
                    </tr>
                    <tr><td>&nbsp;</td></tr>
                    <tr>
                        <td colspan="2" style="text-align:center;">
                            <asp:Button ID="butNext" runat="server" OnClick="butNext_Click" Text="Book" CssClass="btn btn-sm btn-primary"  meta:resourcekey="Book" /><br />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align:center;">
                            <asp:Label ID="lblError" runat="server" CssClass="ifdMessage"></asp:Label>
                        </td>
                    </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>

    </div>
    <%--</ContentTemplate></asp:UpdatePanel>--%>
    </form>

    <script>
    function refresh_img()
    {
        document.getElementById('img_chk').src = 'img_chk.ashx?rnd='+Math.random();
        document.getElementById('<%= txtImgCode.ClientID %>').value = '';
        document.getElementById('<%= txtImgCode.ClientID %>').focus();
    }
    </script>
</asp:Content>
